﻿using DirectSell.Model.ServiceCenter;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Direct.IDAL.ServiceCenterApply
{
    /// <summary>
    /// 服务中心申请仓储接口
    /// </summary>
    public interface IServiceCenterRepository:IAbsRepository
    {
        /// <summary>
        /// 服务中心申请--郭文昊--2018年11月8日14:11:58
        /// </summary>
        /// <param name="model"></param>
        /// <param name="hsTable"></param>
        void Apply(ServiceCenter model, ref Hashtable hsTable);

        /// <summary>
        /// 修改会员服务中心状态为待审核--郭文昊--2018年11月8日14:11:52
        /// </summary>
        /// <param name="model"></param>
        /// <param name="hsTable"></param>
        void ModifyUser(ServiceCenter model, ref Hashtable hsTable);
        /// <summary>
        /// 判断是否重复提交
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        bool RepeatLock(ServiceCenter model);
    }
}
